package org.example.aaaatest.ctry;

 /**
 * @description:
 * @author: wangbaogui
 * @create: 2025/4/10 17:00
 **/
public class a {
    public static void main(String[] args) {
        // 根据adcode查询国家
        String adCode = "392110000";
        String countryName = Country.findByAdcode(adCode.substring(0, 3)) != null ? Country.findByAdcode(adCode.substring(0, 3)).getName() : "";

        System.out.println("country = " +countryName);
    }
}
